package com.ktgj.service.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 码批次			
对象 Ktservice_contract_activitycodebatch
 * 
 * @author ruoyi
 * @date 2021-09-03
 */
public class KtserviceContractActivitycodebatch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动码批次号 */
    private Long activityCodeBatchId;

    /** 活动码批次名称 */
    @Excel(name = "活动码批次名称")
    private String batchName;

    /** 合同ID */
    @Excel(name = "合同ID")
    private Long contractId;

    /** 生成数 */
    @Excel(name = "生成数")
    private Long generateNumber;

    /** 底价 */
    @Excel(name = "底价")
    private BigDecimal basePrice;

    /** 建议零售价 */
    @Excel(name = "建议零售价")
    private BigDecimal recommendedRetailPrice;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal saleprice;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    @Excel(name = "操作人ID")
    private Long opemployeeId;

    /** 服务项目 */
    @Excel(name = "服务项目")
    private String serviceItems;

    /** 10：活动码，20：兑换码 */
    @Excel(name = "10：活动码，20：兑换码")
    private String batchType;

    /** 支持的业务类型,多个用逗号分隔:10,贵宾厅;16,代换登机牌;17,VIP安检通道; */
    @Excel(name = "支持的业务类型,多个用逗号分隔:10,贵宾厅;16,代换登机牌;17,VIP安检通道;")
    private String supportBussenissTypeList;

    /** 批次状态-1000,删除;-900,取消;0,默认;100,未生成;200,已生成; */
    @Excel(name = "批次状态-1000,删除;-900,取消;0,默认;100,未生成;200,已生成;")
    private String status;

    /** 兑换码：兑换优惠券的优惠券名 */
    @Excel(name = "兑换码：兑换优惠券的优惠券名")
    private String couponName;

    /** 兑换码：兑换优惠券的优惠券类型 */
    @Excel(name = "兑换码：兑换优惠券的优惠券类型")
    private String couponType;

    /** 兑换码：兑换优惠券的优惠券范围id */
    @Excel(name = "兑换码：兑换优惠券的优惠券范围id")
    private Long couponRangeId;

    /** 兑换码：兑换优惠券的渠道类型 */
    @Excel(name = "兑换码：兑换优惠券的渠道类型")
    private String givenType;

    /** 兑换码：每个人同一渠道类型可兑换次数 */
    @Excel(name = "兑换码：每个人同一渠道类型可兑换次数")
    private Long avalconverNum;

    public Long getOpemployeeId() {
        return opemployeeId;
    }

    public void setOpemployeeId(Long opemployeeId) {
        this.opemployeeId = opemployeeId;
    }

    public void setActivityCodeBatchId(Long activityCodeBatchId)
    {
        this.activityCodeBatchId = activityCodeBatchId;
    }

    public Long getActivityCodeBatchId() 
    {
        return activityCodeBatchId;
    }
    public void setBatchName(String batchName) 
    {
        this.batchName = batchName;
    }

    public String getBatchName() 
    {
        return batchName;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setGenerateNumber(Long generateNumber) 
    {
        this.generateNumber = generateNumber;
    }

    public Long getGenerateNumber() 
    {
        return generateNumber;
    }
    public void setBasePrice(BigDecimal basePrice) 
    {
        this.basePrice = basePrice;
    }

    public BigDecimal getBasePrice() 
    {
        return basePrice;
    }
    public void setRecommendedRetailPrice(BigDecimal recommendedRetailPrice) 
    {
        this.recommendedRetailPrice = recommendedRetailPrice;
    }

    public BigDecimal getRecommendedRetailPrice() 
    {
        return recommendedRetailPrice;
    }
    public void setSaleprice(BigDecimal saleprice) 
    {
        this.saleprice = saleprice;
    }

    public BigDecimal getSaleprice() 
    {
        return saleprice;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setServiceItems(String serviceItems) 
    {
        this.serviceItems = serviceItems;
    }

    public String getServiceItems() 
    {
        return serviceItems;
    }
    public void setBatchType(String batchType) 
    {
        this.batchType = batchType;
    }

    public String getBatchType() 
    {
        return batchType;
    }
    public void setSupportBussenissTypeList(String supportBussenissTypeList) 
    {
        this.supportBussenissTypeList = supportBussenissTypeList;
    }

    public String getSupportBussenissTypeList() 
    {
        return supportBussenissTypeList;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCouponName(String couponName) 
    {
        this.couponName = couponName;
    }

    public String getCouponName() 
    {
        return couponName;
    }
    public void setCouponType(String couponType) 
    {
        this.couponType = couponType;
    }

    public String getCouponType() 
    {
        return couponType;
    }
    public void setCouponRangeId(Long couponRangeId) 
    {
        this.couponRangeId = couponRangeId;
    }

    public Long getCouponRangeId() 
    {
        return couponRangeId;
    }
    public void setGivenType(String givenType) 
    {
        this.givenType = givenType;
    }

    public String getGivenType() 
    {
        return givenType;
    }
    public void setAvalconverNum(Long avalconverNum) 
    {
        this.avalconverNum = avalconverNum;
    }

    public Long getAvalconverNum() 
    {
        return avalconverNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityCodeBatchId", getActivityCodeBatchId())
            .append("batchName", getBatchName())
            .append("contractId", getContractId())
            .append("opemployeeId",getOpemployeeId())
            .append("generateNumber", getGenerateNumber())
            .append("basePrice", getBasePrice())
            .append("recommendedRetailPrice", getRecommendedRetailPrice())
            .append("saleprice", getSaleprice())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("serviceItems", getServiceItems())
            .append("batchType", getBatchType())
            .append("supportBussenissTypeList", getSupportBussenissTypeList())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("couponName", getCouponName())
            .append("couponType", getCouponType())
            .append("couponRangeId", getCouponRangeId())
            .append("givenType", getGivenType())
            .append("avalconverNum", getAvalconverNum())
            .toString();
    }
}
